Package com.vasco.image.generator
Class BWQRCodeResponse
java.lang.Object
com.vasco.image.generator.BWQRCodeResponse
Defines the output of the QR Code Generator. Contains a black and white QR code, and the
associated boolean matrix.
-
Constructor Summary
ConstructorsConstructorDescriptionBWQRCodeResponse(BufferedImage image, boolean[][] booleanMatrix) Constructs a BWQRCodeResponse object from the image and the matrix in parameter. -
Method Summary
Modifier and TypeMethodDescriptionboolean[][]getImage()voidsetBooleanMatrix(boolean[][] booleanMatrix) voidsetImage(BufferedImage image)
-
Constructor Details
-
BWQRCodeResponse
Constructs a BWQRCodeResponse object from the image and the matrix in parameter.- Parameters:
image- The QR code imagebooleanMatrix- The associated boolean matrix
-
-
Method Details
-
getImage
- Returns:
- The QR code image
-
setImage
- Parameters:
image- The QR code image
-
getBooleanMatrix
public boolean[][] getBooleanMatrix()- Returns:
- The boolean matrix
-
setBooleanMatrix
public void setBooleanMatrix(boolean[][] booleanMatrix) - Parameters:
booleanMatrix- The boolean matrix
-